
import {createWebHashHistory,createRouter} from 'vue-router'
import Home from '../view/home/index.vue'
import ChildWindow from '../view/home/child.vue'
const history=createWebHashHistory();
const router=createRouter(
  {
    history:history,
    routes:[
    //Moon组件改为你自己的某个组件
      {path:'/',component:Home},
      {path:'/child',component:ChildWindow},
    ]
  },
);

export default router

